<template>
  <div class="tool_wrap">
    <el-button @click="add" type="primary" plain :icon="Plus">
      {{ multiLanguages("add") }}
    </el-button>
  </div>
</template>
<script setup lang="ts">
import { Plus } from "@element-plus/icons-vue";
const props = defineProps<{
  multiLanguages: any;
}>();
const emits = defineEmits(["openDialog"])
const add = () => {
  emits("openDialog")
};
</script>
<style scoped lang="less">
.tool_wrap {
  width: 100%;
  height: 50px;
  padding: 0 12px;
  box-sizing: border-box;
  // background-color: #fafafa;
  background-color: #f5f7fa;
  display: flex;
  align-items: center;
}
</style>
